package com.xpresso.utils.unitTests;

import java.io.IOException;

import com.xpresso.utils.web.UrlWorker;

import junit.framework.TestCase;

public class TestWeb extends TestCase {

	public void testGetUrl(){
		UrlWorker uw = new UrlWorker();
		try {
			System.out.println(uw.getUrlContent("http://api.local.yahoo.com/MapsService/V1/geocode?appid=gedasusa&street=701+First+Street&city=Sunnyvale&state=CA"));
		} catch (IOException e) {
			e.printStackTrace();
			fail();
		}
	}
	
	
}
